﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NCP.Util.CusAttributes
{
    public class ExplainAttribute : Attribute
    {
        //类别：默认Dict,Dept,Branch,Member，来自字典集
        public KeyEnum CacheKey { get; set; }

        //默认为当前标记的字段：根据该字段的值获取对应的Name
        public string SourceField { get; set; }
    }

    public enum KeyEnum
    {
        Dept,
        Member
    }
}
